package com.logic.landseaserver.persistence.read;

import java.util.List;

import com.logic.landseaserver.domain.SurveyOption;
import com.logic.landseaserver.ws.dto.SurveyOptionDTO;

public interface SurveyOptionReadMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SurveyOption record);

    int insertSelective(SurveyOption record);

    SurveyOption selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SurveyOption record);

    int updateByPrimaryKey(SurveyOption record);
    
    List<SurveyOptionDTO> selectByQuestionId(Integer id);
}